package com.bdqn.t382.service;

import com.bdqn.t382.config.JavaConfig;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

@Configuration // @Configuration 注解非必须

// 扫描配置类所在的包
//@ComponentScan(basePackages = {"com.bdqn.t382.config", "com.bdqn.t382.service"})
//@ImportResource("classpath:applicationContext.xml")
@Import(JavaConfig.class)
public class MainApplication {
}
